<template>
  <div id="app">
    <router-view name="header"/>
    <main>
      <router-view/>
    </main>
    <footer>
      <router-view name="footer"/>
    </footer>
  </div>
</template>

<script>
export default {
  name: 'App'
}
</script>

<style lang="scss" scoped>
*{
  margin: 0px;
  padding: 0px;
}
html, body, #app {
  height: 100%;
}
#app{
  display: flex;
  flex-direction: column;
  main{
    flex: 1;
  }
  footer{
    margin-top: 60px;
    z-index: 999;
  }
}
</style>
